#ifndef _DD_SPHERE_H_
#define _DD_SPHERE_H_

#include "dd_base.h"
#include "math/vec3.h"

namespace dd 
{
///////////////////////////////////////////////////////
///	\brief	Base class for debug shapes
///////////////////////////////////////////////////////
class Sphere : public PrimitiveBase
{
	math::Vec3			m_Pos;
	float			m_Radius;
	bool			m_DrawReverse;
public:
					Sphere();
	virtual			~Sphere();

    /**
     * Render to buffer
     * @param   _pBuffer    Buffer to render into
     */
	virtual void	Render(DBG_BUFFER* _pBuffer);
			void	Setup(const math::Vec3& _Pos, float _Radius, bool _DrawInverse = true, COLOR _Color = ColorRGBA(255, 255, 255));
};

}// End namespace dd


#endif //_DD_SPHERE_H_